import { useState } from "react"

export default function Model() {
    const [a, seta] = useState('')
    return (
        <div>
            {/* 受控组件 */}
            <input type="text" value={a} onChange={(e) => seta(e.target.value)}></input>
        </div>
    )
}
